<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>用户登录</title>

<script type="text/javascript">
	/*
	 *设置请求地址访问根目录（如：http://127.0.0.1:8080/tdweb/）
	 *
	 *这样做之后在项目中需要填写路径的地方只需要填写项目相对路径
	 *请框架主页面（模板）页面中引入该脚本，避免在链接或引入js/css/image等文件时路径不好写
	 *之后在有路径的地方都只要填写相对于该路径的值
	 *如服务器访问地址为：http://127.0.0.1:8080 ，项目名称为：tdweb即访根地址：http://127.0.0.1:8080/tdweb/下文件
	 *引入项目下css文件http://127.0.0.1:8080/tdweb/ace_v1.3/assets/css/bootstrap.css为例
	 *在加入该段js后，只需要用
	 *	<link rel="stylesheet" href="ace_v1.3/assets/css/bootstrap.css" />
	 *  即可正确引用
	 */

	//取得请求协议+服务器地址，如：http: + "//" + 127.0.0.1:8080
	var server_base_url = window.location.protocol + "//"
			+ window.location.host;
	var pathname = window.location.pathname;
	pathname = pathname.substring(0, pathname.indexOf("/", 1) + 1);
	if(!pathname || pathname === '/auth/'){
		pathname = "/";
	}
	server_base_url = server_base_url + pathname;
	document.write("<base href='"+server_base_url +"'/>");
</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="stylesheet" href="css/camera.css" />
<link rel="stylesheet" href="css/style.css" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="ace_v1.3/assets/css/bootstrap.css" />
<link rel="stylesheet" href="ace_v1.3/assets/css/font-awesome.css" />

<!-- text fonts -->
<link rel="stylesheet" href="ace_v1.3/assets/css/ace-fonts.css" />

<!-- ace styles -->
<link rel="stylesheet" href="ace_v1.3/assets/css/ace.css" />


<!--[if lte IE 9]>
			<link rel="stylesheet" href="ace_v1.3/assets/css/ace-part2.css" />
		<![endif]-->
<link rel="stylesheet" href="ace_v1.3/assets/css/ace-rtl.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script>
	//TOCMAT重启之后 点击左侧列表跳转登录首页 
	if (window != top) {
		top.location.href = location.href;
	}
</script>

<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.mobile.customized.min.js"></script>
<script src="js/camera.min.js"></script>
<script src="js/core/core-1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="js/core/captcha.js" type="text/javascript" charset="utf-8"></script>
<script src="js/templatemo_script.js"></script>

<style type="text/css">
	.login_msg{
		height: 20px;
		margin: 0px;
		padding: 0px;
		text-align: center;
		color: red;
	}
</style>
</head>
<body>

	<div class="login">
		<div class="login_font">
			<div class="username">
				<form method="post" action="auth/login.do" onsubmit="return login(this);">
					<fieldset>
						<label class="block clearfix">
							<span class="block input-icon input-icon-right">
								<input type="text"  id="agentId" name="agentId" class="form-control" placeholder="请输入合作商编号" value="" />
								<i class="ace-icon fa fa-user"></i>
							</span>
						</label>
						<label class="block clearfix"> <span
							class="block input-icon input-icon-right"> <input id="userId"
								type="text" name="userId" class="form-control"
								placeholder="请输入用户名" value="" /> <i
								class="ace-icon fa fa-user"></i>
						</span>
						</label> <label class="block clearfix"> <span
							class="block input-icon input-icon-right"> <input id="userPwd"
								type="password" name="userPwd" class="form-control"
								placeholder="请输入密码" value="" /> <i
								class="ace-icon fa fa-lock"></i>
						</span>
						</label> <label class="block clearfix"> <span
							class="block input-icon input-icon-right"> <input id="captcha"
								type="text" name="captcha" class="form-control"
								placeholder="请输入验证码" /> <i class="ace-icon captcha"></i>
						</span>
						</label>

						<div class="space"></div>

						<div class="clearfix">
							<label class="inline"> <input id="ck_pwd" type="checkbox"
								 class="ace" /> <span class="lbl"> 记住密码</span>
							</label>

							<button type="submit"
								class="width-35 pull-right btn btn-sm btn-primary">
								<i class="ace-icon fa fa-key"></i> <span class="bigger-110">登录</span>
							</button>
						</div>
						<div class="block clearfix login_msg">
							
						</div>
						<div class="space-4"></div>
					</fieldset>
				</form>

			</div>
		</div>
	</div>
<!-- 	<div id="templatemo_banner_slide" class="container_wapper">
		<div class="camera_wrap camera_emboss" id="camera_slide">
			<div data-src="img/banner1.jpg"></div>
			<div data-src="img/banner2.jpg"></div>
			<div data-src="img/banner3.jpg"></div>
		</div>
	</div> -->
		<!-- #camera_wrap_3 -->


</body>

</html>